<!DOCTYPE html>
<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<head>
<c:set var="title" value="文章中心" scope="request" />
<jsp:include page="../head.jsp" />
</head>

<body>
	<c:import url="/header.do?full=1" />
	<div class="col-md-2">
		<c:import url="/left-menu.do" />
	</div>
	<div class="col-md-10 news-add">
		<ol class="breadcrumb">
			<li><a href="user.html">文章中心</a></li>
			<c:if test="${s==0}"><li class="active sta">审批中的文章</li></c:if>
			<c:if test="${s==1}"><li class="active sta">驳回的文章</li></c:if>
		</ol>
		
		<form class="form-inline form-search">
			<div class="form-group">
				<select class="form-control" name="newsClassId">
					<option value="">全部类别</option>
				</select>
			</div>
			<div class="form-group">
				<input name="key" class="form-control" type="text" placeholder="关键字">
			</div>
			<button class="btn btn-primary">
				<i class="fa fa-search"></i>
			</button>
		</form>
		
		<table class="table table-striped table-hover">
			<thead>
				<tr>
						<th style="text-align: center; width: 3em;" class="text-center">#</th>
						<th>文章标题</th>
						<th style="text-align: center; width: 20em;" class="text-center">来源</th>
						<th style="text-align: center; width: 10em;" class="text-center">作者</th>
						<th style="text-align: center; width: 10em;" class="text-center">发表时间</th>
						<th style="text-align: center; width: 10em;" class="text-center">状态</th>
						<c:if test="${s==1 }"><th style="text-align: center; width: 10em;" class="text-center">操作</th></c:if>
					</tr>
			</thead>
			<tbody id="tbd">
				<tr>
						<td style="text-align: center; width: 3em;" class="text-center _rowNumber"></td>
						<td><a href=""target="_blank" class="_newsTitle"></a></td>
						<td style="text-align: center; width: 20em;" class="text-center _newsWorker"></td>
						<td style="text-align: center; width: 10em;" class="text-center _newsManager"></td>
						<td style="text-align: center; width: 10em;" class="text-center _newsTime"></td>
						<td style="text-align: center; width: 10em;" class="text-center newsStatus"></td>
						<c:if test="${s==1 }"><td style="text-align: center; width: 10em;" class="text-center"><a href="" class="btn btn-primary btn-xs">修改</a></td></c:if>
					</tr>
			</tbody>
		</table>
		<div class="text-center">
			<ul class="pagination">
				<li data-page="1"><a href="javascript:void(0);" aria-label="Previous"><spanaria-hidden="true">«</span></a></li>
				<li class="javascript:void(0);"><a href="javascript:void(0);">1</a></li>
				<li><a href="javascript:void(0);" aria-label="Next"><span aria-hidden="true">»</span></a></li>
			</ul>
		</div>

	</div>
	<jsp:include page="../footer.jsp" />
	<script type="text/javascript" src="../news/js/news-status-search.js" ></script>
<script type="text/javascript" src="../news/js/news-class.js" ></script>
</body>

</html>